<?php
use BP\En\EntitiesOID;

class GEEntitys extends EntitiesOID {
	public $FK_MapData;	// String
	private function __init() { // default class members
		$this->FK_MapData = NULL;
	}
	public function toString () 
	{
		return $this->FK_MapData;
	}
	public function getNewEntity () 
	{
		if (($this->FK_MapData == NULL))
		{
			return GEEntity::constructor__();
		}
		return GEEntity::constructor__String($this->FK_MapData);
	}
	public static function constructor__ () 
	{
		$me = new self();
		$me->__init();
		return $me;
	}
	public static function constructor__String ($fk_mapdata) // [String fk_mapdata]
	{
		$me = new self();
		$me->__init();
		$me->FK_MapData = $fk_mapdata;
		return $me;
	}
	public function ToJavaList () 
	{
		return $this;
	}
	public function Tolist () 
	{
		$list = [];// 
		for ($i = 0; ($i < $this->size()); ++$i) 
		{
			$list->add($this->get($i));
		}
		return $list;
	}
}
?>
